<div id="chooseInoutOrderModel" class="modal fade" role="dialog"
    aria-labelledby="chooseInoutOrderModelLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title" id="chooseInoutOrderModelLabel">选择入库订单</h3>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="ibox ">
                    <div class="row">
                        <div class="col-sm-3 m-b-xs">
                            <div class="input-group">
                                <input placeholder="输入商品信息名称" type="text"
                                    v-model="chooseInoutOrderInfo.prodNameLike"
                                    class="form-control form-control-sm">
                            </div>
                        </div>
                        <div class="col-sm-3 m-b-xs">
                            <div class="input-group">
                                <input placeholder="输入申请人" type="text"
                                    v-model="chooseInoutOrderInfo.personNameLike"
                                    class="form-control form-control-sm">
                            </div>
                        </div>
                        <div class="col-sm-5">
                            <div class="input-group">
                                <input placeholder="输入订单编号" type="text" v-model="chooseInoutOrderInfo.orderId"
                                    class="form-control form-control-sm">
                                <span class="input-group-append">
                                    <button type="button" class="btn btn-sm btn-primary" v-on:click="queryProducts()">
                                        <i class="fa fa-search"></i>查询
                                    </button>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="table-responsive" style="margin-top:15px">
                        <table class="table table-striped">
                            <thead>
                                <tr>
                                    <th class="text-center">订单编号</th>
                                    <th class="text-center">商品</th>
                                    <th class="text-center">申请人</th>
                                    <th class="text-center">状态</th>
                                    <th class="text-center">创建时间</th>
                                    <th class="text-center">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-for="inoutOrder in chooseInoutOrderInfo.inoutOrders">
                                    <td class="text-center">{{inoutOrder.orderId}}</td>
                                    <td class="text-center">{{inoutOrder.prodName}}</td>
                                    <td class="text-center">{{inoutOrder.personName}}</td>
                                    <td class="text-center">{{inoutOrder.stateName}}</td>
                                    <td class="text-center">{{inoutOrder.createTime}}</td>
                                    <td class="text-center">
                                        <button class="btn btn-primary btn-xs"
                                            v-on:click="chooseInoutOrder(inoutOrder)">选择
                                        </button>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="row">
                        <div class="col-sm-4">

                        </div>
                        <div class="col-sm-8">
                            <vc:create namespace="chooseInoutOrder" path="frame/paginationPlus"></vc:create>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>